package com.bootdo.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-02-04 11:46:52
 */
public class JiaoyijiluDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//id
	private Long id;
	//用户id
	private Long userid;
	//订单编号
	private String orderno;
	//下单数量
	private BigDecimal xiadanshuliang;
	//下单限价
	private String xiadanxianjia;
	//成交数量
	private BigDecimal chengjiaoshuliang;
	//成交金额
	private BigDecimal chengjiaojine;
	//成交均价
	private BigDecimal chengjiaojunjia;
	//手续费
	private BigDecimal shouxufei;
	//补仓次数
	private Integer bucangcishu;
	//盈利
	private BigDecimal yingli;
	//创建时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date createtime;
	//币种id
	private Integer bizhongid;
	//币种名
	private String bizhongname;
	//平台
	private String pingtai;
	//头像
	private String touxiang;
	//交易类型（买入/卖出）
	private String jiaoyitype;
	//备注
	private String beizhu;

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setUserid(Long userid) {
		this.userid = userid;
	}
	/**
	 * 获取：用户id
	 */
	public Long getUserid() {
		return userid;
	}
	/**
	 * 设置：订单编号
	 */
	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}
	/**
	 * 获取：订单编号
	 */
	public String getOrderno() {
		return orderno;
	}
	/**
	 * 设置：下单数量
	 */
	public void setXiadanshuliang(BigDecimal xiadanshuliang) {
		this.xiadanshuliang = xiadanshuliang;
	}
	/**
	 * 获取：下单数量
	 */
	public BigDecimal getXiadanshuliang() {
		return xiadanshuliang;
	}
	/**
	 * 设置：下单限价
	 */
	public void setXiadanxianjia(String xiadanxianjia) {
		this.xiadanxianjia = xiadanxianjia;
	}
	/**
	 * 获取：下单限价
	 */
	public String getXiadanxianjia() {
		return xiadanxianjia;
	}
	/**
	 * 设置：成交数量
	 */
	public void setChengjiaoshuliang(BigDecimal chengjiaoshuliang) {
		this.chengjiaoshuliang = chengjiaoshuliang;
	}
	/**
	 * 获取：成交数量
	 */
	public BigDecimal getChengjiaoshuliang() {
		return chengjiaoshuliang;
	}
	/**
	 * 设置：成交金额
	 */
	public void setChengjiaojine(BigDecimal chengjiaojine) {
		this.chengjiaojine = chengjiaojine;
	}
	/**
	 * 获取：成交金额
	 */
	public BigDecimal getChengjiaojine() {
		return chengjiaojine;
	}
	/**
	 * 设置：成交均价
	 */
	public void setChengjiaojunjia(BigDecimal chengjiaojunjia) {
		this.chengjiaojunjia = chengjiaojunjia;
	}
	/**
	 * 获取：成交均价
	 */
	public BigDecimal getChengjiaojunjia() {
		return chengjiaojunjia;
	}
	/**
	 * 设置：手续费
	 */
	public void setShouxufei(BigDecimal shouxufei) {
		this.shouxufei = shouxufei;
	}
	/**
	 * 获取：手续费
	 */
	public BigDecimal getShouxufei() {
		return shouxufei;
	}
	/**
	 * 设置：补仓次数
	 */
	public void setBucangcishu(Integer bucangcishu) {
		this.bucangcishu = bucangcishu;
	}
	/**
	 * 获取：补仓次数
	 */
	public Integer getBucangcishu() {
		return bucangcishu;
	}
	/**
	 * 设置：盈利
	 */
	public void setYingli(BigDecimal yingli) {
		this.yingli = yingli;
	}
	/**
	 * 获取：盈利
	 */
	public BigDecimal getYingli() {
		return yingli;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * 设置：币种id
	 */
	public void setBizhongid(Integer bizhongid) {
		this.bizhongid = bizhongid;
	}
	/**
	 * 获取：币种id
	 */
	public Integer getBizhongid() {
		return bizhongid;
	}
	/**
	 * 设置：币种名
	 */
	public void setBizhongname(String bizhongname) {
		this.bizhongname = bizhongname;
	}
	/**
	 * 获取：币种名
	 */
	public String getBizhongname() {
		return bizhongname;
	}
	/**
	 * 设置：平台
	 */
	public void setPingtai(String pingtai) {
		this.pingtai = pingtai;
	}
	/**
	 * 获取：平台
	 */
	public String getPingtai() {
		return pingtai;
	}
	/**
	 * 设置：头像
	 */
	public void setTouxiang(String touxiang) {
		this.touxiang = touxiang;
	}
	/**
	 * 获取：头像
	 */
	public String getTouxiang() {
		return touxiang;
	}
	/**
	 * 设置：交易类型（买入/卖出）
	 */
	public void setJiaoyitype(String jiaoyitype) {
		this.jiaoyitype = jiaoyitype;
	}
	/**
	 * 获取：交易类型（买入/卖出）
	 */
	public String getJiaoyitype() {
		return jiaoyitype;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}
}
